﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:m="clr-namespace:Signum.Windows"
    x:Class="Signum.Windows.LightEntityLine"
    x:Name="me">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="../Resources.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
	<Button x:Name="btView" 
	Style="{StaticResource LinkButtonStyle}"
    Focusable="{Binding Focusable, ElementName=me}"
	Content="{Binding Path=Entity, ElementName=me, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, Converter={x:Static m:Converters.ToStringConverter}}"
	Click="btView_Click"/>
</UserControl>
